home *** CD-ROM | disk | FTP | other *** search
- #ifndef __PS_H
- #define __PS_H
-
- #ifndef __FILE_H
- #include "file.h"
- #endif
-
- /*------------------------------------------------------------
-
- PSFile class
-
- publicly derived from FileName
-
- public members:
-
- BOOL test(void) - determines if the file is a Postscript file
- and contains a ^D in the first line. Returns TRUE if so.
-
- int strip(void) - removes the ^D from the first line of the file
- by shifting the remaining characters over one place to the left.
-
- inherited public members:
-
- BOOL SetFile(char *)
- char* JustName(void)
- char* ShortName(int)
- char* LongName(void)
-
- -----------------------------------------------------------*/
-
-
- class PSFile: public FileName
- {
- public:
- int strip(void);
- BOOL test(void);
-
- };
-
- #endif